package com.bdqn.hospital.pojo;

import lombok.Data;

/**
 * @version : 1.0
 * @Author :jiangtao
 * @createTime: 2023/03/01 14:26
 * @Description: com.bdqn.pojo
 */
@Data
public class Registry {//挂号单表
    private Integer id;//主键，自动递增
    private Integer patientId;//病人表主键ID
    private Integer scheduleId;//医生排期ID
    private Integer userId;//用户表主键ID
    private Integer departmentId;//就诊科室表主键ID
    private Integer roomId;//就诊房间表主键ID
    private Integer status;//挂号单状态1-->已挂号，未问诊；2-->正在问诊；3-->问诊结束
    private Double fee;//挂号费(￥)
    private Double payFee;//实际支付挂号费(￥)
    private Double medicareFee;//医保报销费(￥)
    private Integer isMedicare;//是否使用医保卡1-->未使用，2-->使用
    private String registryTime;//挂号时间
    private String consultationTime;//问诊时间
    private String createdTime;//创建时间
    private String updatedTime;//修改时间

    private Patient patient;//挂号单中病人信息
    private Schedule schedule;//挂号单医生排期表信息
    private String departmentName;//挂号单就诊科室名字
    private Room room;//挂号单就诊房间表信息
    private SysUsers sysUsers;//挂号单挂号医师信息
}
